<template>
    <div>
        <p v-html="blogMain.main"></p>
    </div>
</template>

<script>
    import Vue from 'vue'
    export default {
        name: "BlogMainShowpage",
        data(){
            return{
                blogMain:{
                    kid:'',
                    title:'',
                    keyPoint:'',
                    main:''
                }
            }
        },
        methods:{
            getMain(){
                Vue.axios.get('http://localhost:8500/blogMain/getFakeDetail',{
                    params:{}
                }).then(res=>{
                    this.blogMain=res.data
                }).catch(err=>{
                    console.log(err)
                })
            }
        },
        mounted() {
            this.getMain();
        }
    }
</script>

<style scoped>

</style>